<?php

$appArray   =   array(
					'pink_meitu'             =>  'xiuxiu.android.dl.meitu.com/xiuxiu_ffry.apk',
					'pink_camera'             =>  'pack14303.qiniudn.com/Camera360_4.5.5_HL.ffrj.apk',
					'pink_mxyc'             =>  'admin.haobao.com/statistics/apis/packages/download',
					'pink_ttpod'             =>  'www.fenfenriji.com/pinkdiary/TTPod_Android_v5.2_f599.apk',
					'pink_mzx'             =>  'cdn.arc365.cn/mzxandroid/ThirdParty013/show.apk',
					'pink_mzyg'             =>  'www.yhnj.net:8081/SelectedCosmetics/downloadPage/FenFenRiJi/mzyg3.2.1.apk',
					'pink_dayima'             =>  'dayima.us/s/ffrj',
					'pink_miliao'             =>  'mili.im/down302?c=4100_1_android',
					'pink_anzhi'             =>  'm.anzhi.com/redirect.php?do=dlapk&puid=695',
					'pink_gaotie'             =>  'download.eoemarket.com/app?id=31967&client_id=114&channel_id=115',
					'pink_dushu'             =>  'download.eoemarket.com/app?id=21974&client_id=114&channel_id=115',
					'pink_azbz'             =>  's.androidesk.com/apk/Androidesk-release-mizhuan.apk',
					'pink_xianguo'             =>  'www.douguo.com/down.php',
					'pink_zaker_news'             =>  'www.myzaker.com/download/android/ZAKER_Phone_247.apk',
					'pink_mobo'             =>  'apk.hiapk.com/html/2013/02/1204494.html?module=256&info=bQBvAGIAbwBwAGwAYQB5AGUAcgA%3D',
					'pink_zzyy'             =>  'android.myapp.com/android/down.jsp?appid=44019&icfa=-1&lmid=1022&g_f=0&actiondetail=0&softname=掌中英语&downtype=1&enginekeywd=掌中英语&topicid=-1&pkgid=-1',
					'pink_shengri'             =>  'oibirthday.sinaapp.com/visit/release/d2f912ce3924822c2c39e7ef5f7ed65f',
					'pink_chuanyi'             =>  'ichuanyi.com/get/android',
					'pink_wochacha'             =>  'disk.wochacha.com/download.php?dist=exchange',
					'pink_kuwo'             =>  'g.koowo.com/g.real? aid=text_ad_1304&ver=&url=http://www.koowo.com/pa_mbox/shouji/android/kuwo from fenfen.apk',
					'appchina'             =>  'yyh.co/y/ac.ex.sohuNews.apk',
					'360box'                =>  'openbox.mobilem.360.cn/channel/getUrl?src=cp&app=360box',
                    '360MobileSafe.apk'     =>  'shouji.360.cn/360safe/101157/360MobileSafe.apk',
					'Meilishuo_15938'		=>  'img.meilishuo.net/css/images/AndroidShare/Meilishuo_15938.apk',
                );

$default    =   'www.fenfenriji.com/pinkdiary/default.apk?php_header';


if (empty($_GET['apk']) ||  empty($appArray[$_GET['apk']]))
{
    $apk    =   $default;
}
else
{
    $apk    =   $appArray[$_GET['apk']];
}

header('Location: http://'. $apk);

